<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
</head>
<body>
     <form action="" method="post" enctype="multipart/form-data">
        姓名: <input type="text" name="username"><br>
        密码：<input type="text" name="password"><br>
        头像: <input type="file" name="img"><br>
        类别：<input type="text" name="type"><br>
        <button type="submit">添加</button>
    </form>
    {{ mes }}
</body>
</html>